package cn.tedu.content.pojo.po;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.injector.methods.Insert;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("content_category")
public class CategoryPO implements Serializable {
    @TableId(type = IdType.AUTO)
    Long id;
    String name;
    Long sort;
    String keywords;
    Integer enable;
    Integer isDisplay;

    @TableField(fill = FieldFill.INSERT)
    LocalDateTime gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    LocalDateTime gmtModified;
}
